package com.example.designprinciple.lsp;

/**
 * @Authors：gaoyang
 * @CreateTime：2021-10-20
 * @Description：todo
 */
public class Square implements Quadrangle{

    private long length;

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }

    @Override
    public long getWidth() {
        return length;
    }

    @Override
    public long getHeight() {
        return length;
    }
}
